<include file="Public:header"/>

<div class="main-wrap">
	<div class="position">后台管理:&nbsp;&nbsp;新闻分类</div>
	<div class="toolbar">
		<a href="__URL__/add">添加新闻分类</a>                                     						   
	</div>	
    <div class="title">新闻分类</div>
	<div class="content">
                <table cellspacing="0" cellpadding="0" border="1">
                    <tr>
                        <th>ID</th> 
                        <th>排序</th>                        
                        <th>分类名称</th>
                        <th>文章个数</th>                                                                 
                        <th>添加时间</th>                        
                        <th>操作</th>              
                    </tr> 
                    <iterate name="list" id="vo">                                    
                    <tr>
                        <td>{$vo['id']}</td>
                        <td>{$vo['orderid']}</td>
                        <td>{$vo['name']}</td>
                        <td>{$vo['count']}</td>                  
                        <td width="120">{$vo['addtime']|date='Y-m-d h:i:s',###}</td>                      
                        <td width="100">
                        		<a href="__URL__/edit/id/{$vo['id']}">修改</a>
                        		<a href="__URL__/del/id/{$vo['id']}" 
                        				onclick="return confirm('删除新闻分类确认');" title="删除">删除</a>
                        </td>
                    </tr>			                                            
                    </iterate>
                </table>				              
	</div>	
	<div class="pagination">{$page}</div>
    <div class="clear"></div>	
</div>

<include file="Public:footer"/>